﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Quartz.JobClass.KaiZhangSJModel
{
    class KaiZhangSJModel
    {
        /// <summary>
        /// 
        /// </summary>
        public parms parms { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<vals> vals { get; set; }
    }
    public class parms
    {
        /// <summary>
        /// 
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Year { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int JiDu { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int RecCount { get; set; }
    }

    public class vals
    {
        /// <summary>
        /// 用户号
        /// </summary>
        public string s_yonghuh { get; set; }
        /// <summary>
        /// 年
        /// </summary>
        public int i_y { get; set; }
        /// <summary>
        /// 季度
        /// </summary>
        public int i_jidu { get; set; }
        /// <summary>
        /// 超定额编号
        /// </summary>
        public string s_chaodeid { get; set; }
        /// <summary>
        /// 费用编号
        /// </summary>
        public string s_feeid { get; set; }
        /// <summary>
        /// 现定额量
        /// </summary>
        public int i_xiande { get; set; }
        /// <summary>
        /// 用水价
        /// </summary>
        public decimal n_ysj { get; set; }
        /// <summary>
        /// 超定额加价量
        /// </summary>
        public int i_jiajial { get; set; }
        /// <summary>
        /// 开账（超定额累进加价）金额
        /// </summary>
        public decimal n_jiajiaje { get; set; }

        /// <summary>
        /// 正常开账金额（未减半）
        /// </summary>
        public decimal n_jiajiaje_z { get; set; }
        
        /// <summary>
        /// 开账日期(如，2020-12-10)
        /// </summary>
        public string d_kaizhang { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string s_beizhu { get; set; }
    }
    class ShouFeiSJModel
    {
        /// <summary>
        /// 
        /// </summary>
        public parms sfparms { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<vals> sfvals { get; set; }
    }
    public class sfparms
    {
        /// <summary>
        /// 
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int RecCount { get; set; }
    }
    public class sfvals
    {
        /// <summary>
        /// 用户号
        /// </summary>
        public string s_yonghuh { get; set; }
        /// <summary>
        /// 年
        /// </summary>
        public int i_y { get; set; }
        /// <summary>
        /// 季度
        /// </summary>
        public int i_jidu { get; set; }
        /// <summary>
        /// 超定额编号
        /// </summary>
        public string s_chaodeid { get; set; }
        /// <summary>
        /// 费用编号
        /// </summary>
        public string s_feeid { get; set; }
        /// <summary>
        /// 收费编号
        /// </summary>
        public string s_shoufeiid { get; set; }
        /// <summary>
        /// 收费方式
        /// </summary>
        public string s_shoufeifs { get; set; }
        /// <summary>
        /// 开账（超定额累进加价）金额
        /// </summary>
        public decimal n_shishouje { get; set; }
        /// <summary>
        /// 开账日期(如，2020-12-10)
        /// </summary>
        public string d_shoufei { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string s_beizhu { get; set; }
    }
}
